package org.exeed.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "tb_subscribe", autoResultMap = true)
public class SubscribeEntity {

    private Long id;

    private String name; // 名字

    private String phone; // 电话

    private String email; // 邮件

    private String fax; // 传真

    private String introduction; // 个人介绍

    private Integer isPressContact; // 媒体联系人

    private Long updateTime; // 插入时间


    public void copyFromSubscribeEntity(SubscribeEntity subscribeEntity) {
        this.setName(subscribeEntity.getName());
        this.setPhone(subscribeEntity.getPhone());
        this.setFax(subscribeEntity.getFax());
        this.setEmail(subscribeEntity.getEmail());
    }
}
